package ${packageName};

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
<#list imports as importStr>
    import ${importStr};
</#list>

/**
* @author lmabbe
* @TableName sys_user
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "${tableComment!''}")
@TableName(autoResultMap = true)
public class ${tableName} implements Serializable {

<#list fields as field>
    /**
    * ${field.fieldComment!''}
    */
    <#if field.isPk>
    @TableId(type = IdType.ASSIGN_ID)
    <#else >
    @TableField()
    </#if>
    private ${field.dateType} ${field.fieldName!''};

</#list>
}